<?php
class Admin_Form_AddCruiseType extends Apps_Form {
	public function init() {
		$title = new Zend_Form_Element_Text(
				'title',
				array('label' 		=> 'Title (Vi)'));

		$enTitle = new Zend_Form_Element_Text(
				'en_title',
				array('label' 		=> 'Title (En)',
					  'required'	=> true,
						'filters'		=> array('StringTrim')));

		$description = new Zend_Form_Element_Textarea(
				'description',
				array('label' => 'Description',
					  'rows'	=> 5,
					  'cols'	=> 80));

		$metaKeyWord = new Zend_Form_Element_Textarea(
		        'meta_keyword',
		        array('label' 		=> 'Meta keyword',
					  'rows'	=> 5,
					  'cols'	=> 80));

		$metaDescription = new Zend_Form_Element_Textarea(
		        'meta_description',
		        array('label' 		=> 'Meta description',
					  'rows'	=> 5,
					  'cols'	=> 80));
		$headerTitle = new Zend_Form_Element_Textarea(
		        'header_title',
		        array('label' 		=> 'Header title',
					  'rows'	=> 5,
					  'cols'	=> 80));

		$this->setLegend("Add New Cruise's Type");
		$this->addElement($enTitle)
			 ->addElement($title)
			 ->addElement($description)
			 ->addElement($metaKeyWord)
			 ->addElement($metaDescription)
			 ->addElement($headerTitle);

		$this->addActionGroup()
			 ->makeup();
	}
}